package com.javase.补充_抽象类与接口.Q1;

public class Employee extends Role{

    double salary;

    static int id;

    public Employee() {
    }

    public Employee(String name, int age, char sex, double salary) {
        super(name, age, sex);
        this.salary = salary;
    }

    @Override
    public void play() {
        System.out.println("Play");
    }

    public final void sing(){
        System.out.println("sing");
    };


}
